package com.ruoyi.walmart.service.order.impl;

import com.ruoyi.walmart.domain.order.InstantSales;
import com.ruoyi.walmart.domain.order.vo.DailySales;
import com.ruoyi.walmart.mapper.order.InstantSalesMapper;
import com.ruoyi.walmart.service.order.InstantSalesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InstantSalesServiceImpl implements InstantSalesService {

    @Autowired
    InstantSalesMapper instantSalesMapper;

    @Override
    public List<InstantSales> selectAllBase(InstantSales instantSales) {
        return instantSalesMapper.selectAllBase(instantSales);
    }

    @Override
    public List<InstantSales> selectQty(InstantSales instantSales) {
        return instantSalesMapper.selectQty(instantSales);
    }

    @Override
    public List<DailySales> selectDailySales(InstantSales instantSales) {
        return instantSalesMapper.selectDailySales(instantSales);
    }
}
